package com.jd.ty.pojo;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class Employee implements java.io.Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = -5856035407099083808L;
	private Long employeeId;
	private User userInfo;

	private String employeeName;
	/*
	 * Add for new requirement. 7/28/2011
	 */
	private Dictionary sex;
	private String ethnic;
	private Dictionary registeredResidenceType;
	private String birthPlace;
	private Integer age;
	private String currentlyAddress;
	private Dictionary salary;

	private Dictionary socialSecurityStatus;
	private Date socialSecurityTime;
	private Dictionary socialSecurityType;
	private Dictionary socialSecuritySort;
	private Dictionary socialSecurityCardStatus;
	private Dictionary healthSecurityCardStatus;
	private Dictionary socialSecurityCompany;
	private String announcedSalary;

	private String punishmentRecord;
	private Dictionary trainingState;

	/*
	 * Add for new requirement. 7/Aug/2011
	 */
	private Dictionary marriagementState;
	private String businessName;
	private String positionLength;

	/*
	 * Add for new requirement. 9/Aug/2011
	 */
	private String salaryAmount;
	private String chineseBirthday;
	/*
	 * Add for new requirement. 10/Aug/2011
	 */

	private Date registerTime;
	private String phoneNumber;
	private String homePhoneNumber;

	private String socialId;
	private String address;
	private String postcode;
	private Date birthday;
	private Date endTimeOfIntern;
	private Date timeOfEmployment;

	private Date timeOfLeaving;
	private String remarks;

	private Dictionary position;
	private Dictionary department;
	private Dictionary socialStatus;
	private Dictionary degree;

	private String contactInBJ;
	private String phoneOfContactInBJ;
	private String addressInBJ;

	/* Add for new requirement 16/Oct/2011 */
	private String politicalStatus;
	private String familyMember;
	private String familyMemberAddress;
	private String familyMemberPhone;
	private String graduatedSchool;
	private String graduatedMajor;
	private Date graduatedTime;
	private String employeeNumber;
	private String email;
	private String onBoardWay;
	
	/* Add for new requirement 11/Dec/2011 */
	private String employeeClass;
	private Dictionary unifiedEntrance;
	private Dictionary quitJobPapers;
	private String internSalary;
	private String contractSalary;
	private String performanceSalary;
	private List<BankCard> bankCards = new ArrayList<BankCard>();

	private List<Contract> contracts = new ArrayList<Contract>();
	private List<Experience> experiences = new ArrayList<Experience>();
	private List<Credentials> credentials = new ArrayList<Credentials>();
	
	
	public Employee() {

	}

	public Long getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(Long employeeId) {
		this.employeeId = employeeId;
	}

	public User getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(User userInfo) {
		this.userInfo = userInfo;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public Date getRegisterTime() {
		return registerTime;
	}

	public void setRegisterTime(Date registerTime) {
		this.registerTime = registerTime;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getSocialId() {
		return socialId;
	}

	public void setSocialId(String socialId) {
		this.socialId = socialId;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public Date getEndTimeOfIntern() {
		return endTimeOfIntern;
	}

	public void setEndTimeOfIntern(Date endTimeOfIntern) {
		this.endTimeOfIntern = endTimeOfIntern;
	}

	public Date getTimeOfEmployment() {
		return timeOfEmployment;
	}

	public void setTimeOfEmployment(Date timeOfEmployment) {
		this.timeOfEmployment = timeOfEmployment;
	}

	public Dictionary getDepartment() {
		return department;
	}

	public void setDepartment(Dictionary department) {
		this.department = department;
	}

	public Dictionary getSocialStatus() {
		return socialStatus;
	}

	public void setSocialStatus(Dictionary socialStatus) {
		this.socialStatus = socialStatus;
	}

	public Dictionary getDegree() {
		return degree;
	}

	public void setDegree(Dictionary degree) {
		this.degree = degree;
	}

	public Date getTimeOfLeaving() {
		return timeOfLeaving;
	}

	public void setTimeOfLeaving(Date timeOfLeaving) {
		this.timeOfLeaving = timeOfLeaving;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getHomePhoneNumber() {
		return homePhoneNumber;
	}

	public void setHomePhoneNumber(String homePhoneNumber) {
		this.homePhoneNumber = homePhoneNumber;
	}

	public String getPostcode() {
		return postcode;
	}

	public void setPostcode(String postcode) {
		this.postcode = postcode;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getContactInBJ() {
		return contactInBJ;
	}

	public void setContactInBJ(String contactInBJ) {
		this.contactInBJ = contactInBJ;
	}

	public String getPhoneOfContactInBJ() {
		return phoneOfContactInBJ;
	}

	public void setPhoneOfContactInBJ(String phoneOfContactInBJ) {
		this.phoneOfContactInBJ = phoneOfContactInBJ;
	}

	public String getAddressInBJ() {
		return addressInBJ;
	}

	public void setAddressInBJ(String addressInBJ) {
		this.addressInBJ = addressInBJ;
	}

	public String getDetail() {
		StringBuilder sb = new StringBuilder();
		if (businessName != null && businessName.length() > 0) {
			sb.append("业务名:" + businessName + "<br>");
		}
		if (position != null) {
			sb.append("职位:" + position.getDictionaryName() + "<br>");
		}
		return sb.toString();
	}

	public Dictionary getSex() {
		return sex;
	}

	public void setSex(Dictionary sex) {
		this.sex = sex;
	}

	public String getEthnic() {
		return ethnic;
	}

	public void setEthnic(String ethnic) {
		this.ethnic = ethnic;
	}

	public Dictionary getRegisteredResidenceType() {
		return registeredResidenceType;
	}

	public void setRegisteredResidenceType(Dictionary registeredResidenceType) {
		this.registeredResidenceType = registeredResidenceType;
	}

	public String getBirthPlace() {
		return birthPlace;
	}

	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}

	public String getCurrentlyAddress() {
		return currentlyAddress;
	}

	public void setCurrentlyAddress(String currentlyAddress) {
		this.currentlyAddress = currentlyAddress;
	}

	public Dictionary getSalary() {
		return salary;
	}

	public void setSalary(Dictionary salary) {
		this.salary = salary;
	}

	public Dictionary getSocialSecurityStatus() {
		return socialSecurityStatus;
	}

	public void setSocialSecurityStatus(Dictionary socialSecurityStatus) {
		this.socialSecurityStatus = socialSecurityStatus;
	}

	public Date getSocialSecurityTime() {
		return socialSecurityTime;
	}

	public void setSocialSecurityTime(Date socialSecurityTime) {
		this.socialSecurityTime = socialSecurityTime;
	}

	public Dictionary getSocialSecurityType() {
		return socialSecurityType;
	}

	public void setSocialSecurityType(Dictionary socialSecurityType) {
		this.socialSecurityType = socialSecurityType;
	}

	public Dictionary getSocialSecuritySort() {
		return socialSecuritySort;
	}

	public void setSocialSecuritySort(Dictionary socialSecuritySort) {
		this.socialSecuritySort = socialSecuritySort;
	}

	public Dictionary getSocialSecurityCardStatus() {
		return socialSecurityCardStatus;
	}

	public void setSocialSecurityCardStatus(Dictionary socialSecurityCardStatus) {
		this.socialSecurityCardStatus = socialSecurityCardStatus;
	}

	public Dictionary getHealthSecurityCardStatus() {
		return healthSecurityCardStatus;
	}

	public void setHealthSecurityCardStatus(Dictionary healthSecurityCardStatus) {
		this.healthSecurityCardStatus = healthSecurityCardStatus;
	}

	public Dictionary getSocialSecurityCompany() {
		return socialSecurityCompany;
	}

	public void setSocialSecurityCompany(Dictionary socialSecurityCompany) {
		this.socialSecurityCompany = socialSecurityCompany;
	}

	public String getAnnouncedSalary() {
		return announcedSalary;
	}

	public void setAnnouncedSalary(String announcedSalary) {
		this.announcedSalary = announcedSalary;
	}

	public String getPunishmentRecord() {
		return punishmentRecord;
	}

	public void setPunishmentRecord(String punishmentRecord) {
		this.punishmentRecord = punishmentRecord;
	}

	public Dictionary getTrainingState() {
		return trainingState;
	}

	public void setTrainingState(Dictionary trainingState) {
		this.trainingState = trainingState;
	}

	public Dictionary getMarriagementState() {
		return marriagementState;
	}

	public void setMarriagementState(Dictionary marriagementState) {
		this.marriagementState = marriagementState;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public String getPositionLength() {
		return positionLength;
	}

	public void setPositionLength(String positionLength) {
		this.positionLength = positionLength;
	}

	public String getSalaryAmount() {
		return salaryAmount;
	}

	public void setSalaryAmount(String salaryAmount) {
		this.salaryAmount = salaryAmount;
	}

	public String getChineseBirthday() {
		return chineseBirthday;
	}

	public void setChineseBirthday(String chineseBirthday) {
		this.chineseBirthday = chineseBirthday;
	}

	public List<Contract> getContracts() {
		return contracts;
	}

	public void setContracts(List<Contract> contracts) {
		this.contracts = contracts;
	}

	public Dictionary getPosition() {
		return position;
	}

	public void setPosition(Dictionary position) {
		this.position = position;
	}

	public List<Experience> getExperiences() {
		return experiences;
	}

	public void setExperiences(List<Experience> experiences) {
		this.experiences = experiences;
	}

	public List<Credentials> getCredentials() {
		return credentials;
	}

	public void setCredentials(List<Credentials> credentials) {
		this.credentials = credentials;
	}

	public String getPoliticalStatus() {
		return politicalStatus;
	}

	public void setPoliticalStatus(String politicalStatus) {
		this.politicalStatus = politicalStatus;
	}

	public String getFamilyMember() {
		return familyMember;
	}

	public void setFamilyMember(String familyMember) {
		this.familyMember = familyMember;
	}

	public String getFamilyMemberAddress() {
		return familyMemberAddress;
	}

	public void setFamilyMemberAddress(String familyMemberAddress) {
		this.familyMemberAddress = familyMemberAddress;
	}

	public String getFamilyMemberPhone() {
		return familyMemberPhone;
	}

	public void setFamilyMemberPhone(String familyMemberPhone) {
		this.familyMemberPhone = familyMemberPhone;
	}

	public String getGraduatedSchool() {
		return graduatedSchool;
	}

	public void setGraduatedSchool(String graduatedSchool) {
		this.graduatedSchool = graduatedSchool;
	}

	public String getGraduatedMajor() {
		return graduatedMajor;
	}

	public void setGraduatedMajor(String graduatedMajor) {
		this.graduatedMajor = graduatedMajor;
	}

	public Date getGraduatedTime() {
		return graduatedTime;
	}

	public void setGraduatedTime(Date graduatedTime) {
		this.graduatedTime = graduatedTime;
	}

	public String getEmployeeNumber() {
		return employeeNumber;
	}

	public void setEmployeeNumber(String employeeNumber) {
		this.employeeNumber = employeeNumber;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getOnBoardWay() {
		return onBoardWay;
	}

	public void setOnBoardWay(String onBoardWay) {
		this.onBoardWay = onBoardWay;
	}

	public String getEmployeeClass(){
		return employeeClass;
	}
	
	public void setEmployeeClass(String employeeClass){
		this.employeeClass = employeeClass;
	}
	
	public Dictionary getUnifiedEntrance(){
		return unifiedEntrance;
	}
	
	public void setUnifiedEntrance(Dictionary unifiedEntrance){
		this.unifiedEntrance = unifiedEntrance;
	}
	
	public Dictionary getQuitJobPapers(){
		return quitJobPapers;
	}
	
	public void setQuitJobPapers(Dictionary quitJobPapers){
		this.quitJobPapers = quitJobPapers;
	}

	public String getInternSalary() {
		return internSalary;
	}

	public void setInternSalary(String internSalary) {
		this.internSalary = internSalary;
	}

	public String getContractSalary() {
		return contractSalary;
	}

	public void setContractSalary(String contractSalary) {
		this.contractSalary = contractSalary;
	}

	public String getPerformanceSalary() {
		return performanceSalary;
	}

	public void setPerformanceSalary(String performanceSalary) {
		this.performanceSalary = performanceSalary;
	}
	
	public List<BankCard> getBankCards() {
		return bankCards;
	}

	public void setBankCards(List<BankCard> bankCards) {
		this.bankCards = bankCards;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}
	
}
